package yf.mall.enums;

import lombok.Getter;


/**
 *
 *
 *
 * @date Tue Nov 05 14:46:18 CST 2019
 */
@Getter
public enum MallGoodsLogTypeEnum {


    FREE(0,"包邮")
    ,


    FULL(1,"满免")
    ,


    WEIGHT(2,"计重")

    ;


    int index;
    String value;

    MallGoodsLogTypeEnum(int index,String value) {
        this.index = index;
        this.value = value;
    }

    public static String indexOf(int idx) {
        return MallGoodsLogTypeEnum.values()[idx].getValue();
    }

}
